import React from 'react';
import mirror, { connect } from 'mirrorx';

// 组件引入
import PromoterCommissionTable from './List/index.js';
import PromoterCommissionEdit from './Edit/index.js';
// 数据模型引入
import model from './model'
mirror.model(model);

// 数据和组件UI关联、绑定
export const ConnectedPromoterCommissionTable = connect( state => state.PromoterCommission, null )(PromoterCommissionTable);
export const ConnectedPromoterCommissionEdit = connect( state => state.PromoterCommission, null )(PromoterCommissionEdit);
